//
//  HSAboutUsViewController.swift
//  HomeSchoolDemo
//
//  Created by rimi on 16/9/28.
//  Copyright © 2016年 黄华强. All rights reserved.
//

import UIKit

class HSAboutUsViewController: UIViewController {

    @IBOutlet weak var webLabel: UILabel!
    override func viewDidLoad() {
        super.viewDidLoad()
        
    }

    @IBAction func buttonClicked(_ sender: UIButton) {
        if sender.tag == 2 {
            
        } else if (sender.tag == 3) {
            let webVc = HSWebsiteViewController()
            webVc.webUrl = webLabel.text ?? ""
            let naviVC = HSMyNaviController(rootViewController: webVc)
            present(naviVC, animated: true, completion: nil)
        }
    }
    
    @IBAction func backButton(_ sender: UIButton) {
        dismiss(animated: true, completion: nil)
    }
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

}
